package com.itzhoun.controller;

import com.itzhoun.config.CheckAop;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 周楠
 * @Date 2022/12/11/下午 4:13
 */
@RestController
public class AopController {

    @GetMapping("aop")
    @CheckAop(isNeed = false)
    public String aopHello(String name){
        return name + "hello, aop";
    }
}
